<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户中心</title>
    <link rel="stylesheet" type="text/css" href="../../static/news/css/reset.css">
    <link rel="stylesheet" type="text/css" href="../../static/news/css/main.css">
    <script type="text/javascript" src="../../static/news/js/jquery-1.12.4.min.js"></script>
    <script type="text/javascript" src="../../static/news/js/user_base_info.js"></script>
</head>
<body class="inframe_body">
<form class="base_info">
    <h3>基本资料</h3>
    <div class="form-group">
        <label>个性签名：</label>
        <input id="signature" type="text" name="signature" value="{{ user.signature|default('', True) }}"
               class="input_txt">
    </div>
    <div class="form-group">
        <label>用户昵称：</label>
        <input id="nick_name" type="text" name="nick_name" value="{{ user.nick_name }}" class="input_txt">
    </div>
    <div class="form-group">
        <label>性别：</label>
        <input class="gender" type="radio" name="gender" value="MAN"
               {% if user.gender == 'MAN' %}checked="checked"{% endif %}> <b>男</b>&nbsp;&nbsp;&nbsp;&nbsp;
        <input class="gender" type="radio" name="gender" value="WOMAN"
               {% if user.gender == 'WOMAN' %}checked="checked"{% endif %}> <b>女</b>
    </div>
    <div class="form-group">
        <input type="submit" value="保 存" class="input_sub">
    </div>
</form>
</body>
</html>